﻿<%@ Page Title="Chi tiết laptop" Language="C#" MasterPageFile="~/MasterPage2.master" AutoEventWireup="true" CodeFile="ChiTietLapTop.aspx.cs" Inherits="ChiTietSanPham"%>
<%@ Register TagPrefix="cc1" Namespace="SiteUtils" Assembly="CollectionPager" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <style type="text/css">
        .style2
        {
            width: 30%;
            height: 25px;
        }
        .style3
        {
            height: 25px;
        }
        .style4
        {
            height: 21px;
        }
    </style>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">   
    <table width="100%">
    
        <tr>
            <td style="text-align:center;">
               <asp:Label runat="server" ID="TenSanPham" Font-Bold="true" ForeColor="Blue"></asp:Label>
            </td>
        </tr>
        
       
        <tr >
            <td style="text-align:center;">
               
                    <asp:Image runat="server" ID="ImageSanPham" Height="200px" Width="200px" />
           </td>
        </tr>
        
        <tr>
            <td style="text-align:center;">
                <asp:Label ID="GiaSanPham" runat="server" ForeColor="Red"></asp:Label>
            </td>
        </tr>
     
    </table>
    <center>
        <table id="ChiTiet" width="80%" style="text-align:center; border:6px;" 
            align="center" border="1" cellpadding="0" cellspacing="0">
            <tr >
                <td class="style2">
                    <asp:Label Text="Thông tin CPU" runat="server"></asp:Label>
                </td>
                
                <td class="style3">
                    <asp:Label ID="ThongTinCPU" runat="server"></asp:Label>
                </td>
            </tr>
            
            <tr>
                <td>
                    <asp:Label Text="Tốc độ CPU" runat="server"></asp:Label>
                </td>
                <td>
                    <asp:Label ID="TocDoCPU" runat="server"></asp:Label>
                </td>
            </tr>
            
            <tr>
                <td class="style4">
                    <asp:Label Text="Kích thước màn hình" runat="server"></asp:Label>
                </td>
                <td class="style4">
                    <asp:Label ID="KichThuocManHinh" runat="server"></asp:Label>
                </td>
            </tr>
             
               
            <tr>
                <td>
                    <asp:Label  Text="VGA" runat="server"></asp:Label>
                </td>
                <td>
                    <asp:Label ID="VGA" runat="server"></asp:Label>
                </td>
            </tr>
              
            <tr>
                <td>
                    <asp:Label  Text="Dung Lượng VGA" runat="server"></asp:Label>
                </td>
                <td>
                    <asp:Label ID="DungLuongVGA" runat="server"></asp:Label>
                </td>
            </tr>
              
            <tr>
                <td>
                    <asp:Label  Text="RAM" runat="server"></asp:Label>
                </td>
                <td>
                    <asp:Label ID="RAM" runat="server"></asp:Label>
                </td>
            </tr>
              
            <tr>
                <td>
                    <asp:Label  Text="Dung lượng RAM" runat="server"></asp:Label>
                </td>
                <td>
                    <asp:Label ID="DungLuongRAM" runat="server"></asp:Label>
                </td>
            </tr>
              
             <tr>
                <td>
                    <asp:Label Text="Thông tin HDD" runat="server"></asp:Label>
                </td>
                <td>
                    <asp:Label ID="ThongTinHDD" runat="server"></asp:Label>
                </td>
            </tr>
            
             <tr>
                <td>
                    <asp:Label  Text="Dung lượng HDD" runat="server"></asp:Label>
                </td>
                <td>
                    <asp:Label ID="DungLuongHDD" runat="server"></asp:Label>
                </td>
            </tr>
            
             <tr>
                <td>
                    <asp:Label  Text="Pin" runat="server"></asp:Label>
                </td>
                <td>
                    <asp:Label ID="Pin" runat="server"></asp:Label>
                </td>
            </tr>
            
             <tr>
                <td>
                    <asp:Label  Text="Thông tin MainBoard" runat="server"></asp:Label>
                </td>
                <td>
                    <asp:Label ID="ThongTinMainBoard" runat="server"></asp:Label>
                </td>
            </tr>
            
             <tr>
                <td>
                    <asp:Label  Text="Thông tin LAN" runat="server"></asp:Label>
                </td>
                <td>
                    <asp:Label ID="ThongTinLAN" runat="server"></asp:Label>
                </td>
            </tr>
            
             <tr>
                <td>
                    <asp:Label Text="Thông tin wifi" runat="server"></asp:Label>
                </td>
                <td>
                    <asp:Label ID="ThongTinWifi" runat="server"></asp:Label>
                </td>
            </tr>
            
                 <tr>
                <td>
                    <asp:Label Text="Thông tin hệ điều hành" runat="server"></asp:Label>
                </td>
                <td>
                    <asp:Label ID="ThongTinHDH" runat="server"></asp:Label>
                </td>
            </tr>
            
                 <tr>
                <td>
                    <asp:Label Text="Thông tin bảo hành" runat="server"></asp:Label>
                </td>
                <td>
                    <asp:Label ID="ThongTinBaoHanh" runat="server"></asp:Label>
                </td>
            </tr>
            
                 <tr>
                <td>
                    <asp:Label  Text="Trọng lượng máy" runat="server"></asp:Label>
                </td>
                <td>
                    <asp:Label ID="TrongLuongMay" runat="server"></asp:Label>
                </td>
            </tr>
            
              <tr>
                <td>
                    <asp:Label Text="Trang chủ" runat="server"></asp:Label>
                </td>
                <td>
                    <asp:HyperLink ID="TrangChu" runat="server"></asp:HyperLink>
                </td>
            </tr>
           
        </table>
    </center>
   <asp:Label ID="lbthongbao" runat="server" Font-Size="Medium" ForeColor="Red" 
                                            Text="Không có gian hàng bán sản phẩm này"></asp:Label>
  <p>  
  <asp:DataList ID="dtlGianHang" runat="server" RepeatColumns="3" Width="100%" >
        <ItemTemplate>
            <asp:HyperLink ID="HyperLink4" runat="server" Font-Bold="True" 
                Font-Size="Medium" ForeColor="#0000CC" 
                NavigateUrl='<%# Eval("ID", "ChiTietGianHang.aspx?ID={0}") %>' 
                Text='<%# Eval("TenGianHang") %>' Height="50px"></asp:HyperLink>
            <br />
            <br />
            <asp:Image ID="Image2" runat="server" Height="150px" 
                ImageUrl="~/Image/Acer 4810TZ 412G25Mn.jpg" Width="175px" />
            &nbsp;&nbsp;&nbsp;&nbsp;<br />
            &nbsp;&nbsp;
            <br />
            <asp:Label ID="lbSoLuongSanPham" runat="server" Font-Bold="true"
            ForeColor="Red" Text='<%# Eval("SoLuongSanPham") + " sản phẩm "%>' />
            <br />
            <br />
        </ItemTemplate>
    </asp:DataList>
  </p>
  
<CC1:COLLECTIONPAGER id="CollectionPager2" runat="server" BackText="« Trang Trước" 
        FirstText="Đầu Tiên" LabelText="Trang :" LastText="Sau Cùng" 
        NextText="Trang Sau »" 
        ResultsFormat="Hiển Thị  Kết Quả Trang {0}-{1} (Tổng Số {2})">
    </CC1:COLLECTIONPAGER>
</asp:Content>

